In this paper, firstly I have analyzed and researched the implement of uC/ OS-II, and improved the uC/ OS-II's deficiency in memory, interrupt handle, stack and so on. Interrupt handle is the base of embedded RTOS. 文中首先对该实时内核进行了详细的分析,将uC/OS-Ⅱ移植到AT91X40上并编写了应用程序进行了测试;嵌入式实时操作系统多任务实现的基础就是系统对中断的处理。
This paper introduces the STACK architecture of SPARC and the operation to Windows Registers. Then gives an example of context switching function and interrupt handler based on uC/ OS. 本文简单介绍了SPARC的栈结构、寄存器窗口的相关操作,并以uC/OS的移植为例子,简单实现了切换函数以及系统时钟中断。